package com.imooc.order.controller;

import com.google.gson.JsonArray;
import com.imooc.order.config.GirlConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GirlController {


    @Autowired
    GirlConfig girlConfig;

    @GetMapping("/girl")
    public String girl(){

        return girlConfig.getName();
    }


}
